<!DOCTYPE html>
<html lang="zh.CN">
	<head>
		<meta charset="utf-8">
		<title>用户信息表</title>
		<style>
			table{
				border-collapse: collapse;
				width: 100%;
			}
			td{
				border: 1px solid#000;
				padding: 5px;
			}
			tr:nth-child(even)td{
				background-color: "f0f8ff";
			}
			</style>		
	</head>
	<body>
		<form action="" method="post" enctype="multipart/form-data">
			<table>
				<tr>
					<td>用户名：</td>
				    <td><input type="text" value="赵二"></td>
					</tr>
					<tr>
						<td>密码:</td>
						<td><input type="password" value="***"></td>
						</tr>
						<tr>
							<td>性别：</td>
							<td><input type="radio" name="gender" value="male">男
							<input type="radio" name="gender" value="male">女
							</td>
							<tr> 
								<td>年龄：</td>
								<td><input type="number" value="30"></td>
								</tr>
								<tr>
									<td>是否为党员：</td>
									<td><input type="checkbox" name="isPartyMember">(选中为是，不选为否)</td>
									</tr>
									<tr>
										<td>所在省市</td>
										<td> 
											<select name="city">
										    <option value="tianjin" selected>天津</option>
											<option value="beijing" selected>北京</option>
											<option value="shanghai" selected>上海</option>
											<option value="xi'an" selected>西安</option>
											</select>(默认选中天津)
											</td>
											</tr>
											<tr>
												<td>个人爱好：</td>
												<td>
													<input type="checkbox" name="hobby" value="playfootball">踢足球
													<input type="checkbox" name="hobby" value="playbaskball">打篮球
													<input type="checkbox" name="hobby" value="watchmovie">看电影
													<input type="checkbox" name="hobby" value="playgame">玩游戏
													</td>
														</tr>
														<tr>
															<td>上传照片:</td>
															<td>
																<input type="file" name="photo"></td>
																</tr>
																<tr>
																	<td>国籍:</td>
																	<td>
																		<input type="checkbox" name="nationality" value="china" checked>中国
																		<input type="checkbox" name="nationality" value="foreign">外国
																		</td>
																		</tr>
																		<tr> 
																			<td>生日：</td>
																			<td><input type="date" value="1999-11-18"></td>
																			</tr>
																			<tr>
																				<td>最喜欢的颜色：</td>
																				<td><input type="color" value="#9932CC"></td>
																				</tr>
																				<tr>
																					<td>个人说明：</td>
																					<td><textarea name="personalDesc" rows="5" cols="30">tute
																					</textarea></td>
																				</tr>
																				<tr>
																					<td colspan="2" align="center">
																						<input type="submit" value="提交">
																						<input type="reset" value="重置">
																						</td>
																						</tr>
																						</table>																
</body>
</html>